package com.forstudy.common;

import com.forstudy.util.DbUtils;
import com.forstudy.util.ExcelUtil;
import com.forstudy.util.MySqlUtil;
import com.forstudy.util.SqlUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: erdong
 * Date: 2020/4/15
 * Time: 16:48
 * Description: No Description
 */
@Component
public class BeanConfig {

    @Bean
    public SqlUtil sqlUtil() {

        return new SqlUtil();
    }

    @Bean
    public ExcelUtil excelUtils() {

        return new ExcelUtil();
    }

    @Bean
    public DbUtils dbUtils() {

        return new DbUtils();
    }

    @Bean
    public MySqlUtil mySqlUtil() {

        return new MySqlUtil();
    }
}
